<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">所属社区</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-inline" data-toggle="cxselect" data-selects="province,city,area,town">
                <select class="province form-control" name="row[province_id]" data-url="ajax/area" data-live-search="true">
                    <option value=""></option>
                </select>
                <select class="city form-control" name="row[city_id]" data-query-name="province" data-url="ajax/area" data-live-search="true">
                    <option value=""></option>
                </select>
                <select class="area form-control" name="row[region_id]" data-query-name="city" data-url="ajax/area" data-live-search="true">
                    <option value=""></option>
                </select>
                <select class="town form-control" name="row[town_id2]" data-query-name="region" data-url="ajax/town1" data-live-search="true">
                    <option value=""></option>
                </select>
            </div>
        </div>
    </div>
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shortname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shortname" class="form-control" name="row[shortname]" type="text">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
